record Point { x: Int, y: Int }

var x = 1;
var y = 1;

implement Show for Point {
    def show() : String { return "Point"; }
}

implement Eq for Point {
    def eq(var other : Point) : Bool { return x == 1 and y == 1; }
}

var p = Point(x, y);
print(p);
